from bpmappers import RawField
from bpmappers.djangomodel import ModelMapper

from first.models import TbSubject


class SubjectMapper(ModelMapper):
    isHot = RawField('is_hot')
    class Meta:
        model = TbSubject
        exclude = ('is_hot','no')